package com.mashibing.apidriver.controller;

import org.mashibing.dto.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author:
 * @create: 2024/3/28 16:25
 * @description: JWT测试接口
 */
@RestController
public class TestController {

    @GetMapping("/test")
    public ResponseResult test() {
        return ResponseResult.success("test success");
    }

    @GetMapping("/noauth")
    public ResponseResult noauth() {
        return ResponseResult.success("noauth success");
    }
}
